package cn.pzaily.fealetter.entity.base;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @PackageName: cn.pzaily.fealatter.entity.base
 * @Description:
 * @Author: Pang
 * @Date: 2021-11-18 10:46
 */
@Data
public abstract class BaseEntity implements Serializable {

    @TableId
    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateUser;

    @ApiModelProperty(value = "逻辑删除 0删除")
    private int isDelete;

    @ApiModelProperty(value = "备注")
    private String remark;
}
